import 'dart:ui';

import 'package:love_newf/generated/assets.dart';

class RoomType {
  static const int THREE = 1;
  static const int EXCLUSIVE = 2;
  static const int SEVEN = 4;
  static const int ANGEL = 5;
  static const int SING = 6;
  static const int TRAIN = 7;
  static const int NINE = 8;
  static const int NINE_SING = 9;

  static name(int type) {
    switch (type) {
      case THREE:
        return "视频相亲";
      case EXCLUSIVE:
        return "专属相亲";
      case SEVEN:
        return "七人交友";
      case ANGEL:
        return "七人天使";
      case SING:
        return "七人k歌";
      case TRAIN:
        return "培训房";
      case NINE:
        return "9人天使";
      case NINE_SING:
        return "9人k歌";
    }
    return "";
  }

  static liveBg(int type) {
    switch (type) {
      case THREE:
        return Assets.liveBgThreeLiveRoom;
      case EXCLUSIVE:
        return Assets.liveBgExclusiveLiveRoom;
      case SEVEN:
        return Assets.liveBgSevenRoom;
      case ANGEL:
        return Assets.liveBgSevenLiveRoom;
      case SING:
        return Assets.liveBgSongLiveRoom;
      case TRAIN:
        return Assets.liveBgSevenRoom;
      case NINE:
        return Assets.homeHomeLiveNineAngelBg;
      case NINE_SING:
        return Assets.liveBgSongLiveRoom;
    }
    return "";
  }

  static liveTextGr(int type) {
    switch (type) {
      case THREE:
        return const [Color(0xFFFFD568), Color(0xFFFFD568)];
      case EXCLUSIVE:
        return const [Color(0xFFFF9573), Color(0xFFFF478B)];
      case SEVEN:
        return const [Color(0xFF77DBFF), Color(0xFF046BFF)];
      case ANGEL:
        return const [Color(0xFFFF9573), Color(0xFFFF478B)];
      case SING:
      case TRAIN:
        return const [Color(0XFFFFCB83), Color(0XFFFF7510)];
      case NINE:
        return const [Color(0xFFFF9573), Color(0xFFFF478B)];
      case NINE_SING:
        return const [Color(0XFF8FA4FF), Color(0XFF9126FF)];
    }
    return const [Color(0xFFFFD568), Color(0xFFFFD568)];
  }
}
